<nz-card nzTitle="设置 Web服务" [nzExtra]="extraTemplate">
    <smart-editor #form [fields]="fields" [values]="data"></smart-editor>
</nz-card>
<ng-template #extraTemplate>
    <button nz-button nzType="primary" (click)="onSubmit()">保存</button>
</ng-template>
